package org.tangzhi.identity;

import java.util.Optional;

public interface UserRepository {

    void save(User user);

    Optional<User> findById(String username);

}
